package com.csun.dsms.mapper;

import com.csun.dsms.model.domain.DsmsRole;
import com.csun.dsms.model.vo.role.RoleVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DsmsRoleMapper extends Mapper<DsmsRole> {

    /**
     * Query role list with page list.
     *
     * @param dsmsRole  the dsms role
     *
     * @return  the role vo list.
     */
    List<RoleVo> queryRoleListWithPage(DsmsRole dsmsRole);

    /**
     * Batch delete by id list int.
     *
     * @param roleIdList    the role id list
     *
     * @return  the int.
     */
    Integer batchDeleteByIdList(List<Long> roleIdList);
}